<?php if ($empty_option != false) : ?>
<option value=""><?php echo $empty_option === true? '': $empty_option;?></option>
<?php endif; ?>
<?php foreach($options as $key => $value) : ?>
<option value="<?php echo $key; ?>"><?php echo $value; ?></option>
<?php endforeach; ?>